package com.itheima.demo1;

import java.util.Scanner;

public class exercise5 {
    public static void main(String[] args) {
        //if格式①
        /*
        if(关系表达式){语句体}
        */

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入女婿的酒量");
        int wine = sc.nextInt();

        if(wine > 2){
            System.out.println("小伙子，酒量不错呦!");
        }
    }
}
